macOS
Both screens keep the same pixel row, so the pointer steps up as it crosses the edge.
macOS lines up your displays by resolution, not by size. If one panel is bigger than the other, the pointer lands at the wrong height.
macOS aligns displays by logical resolution. Two screens that report the same resolution are treated as the same height, even when one panel is physically taller. Line them up on the desk and the pointer still arrives too high or too low every time it crosses the edge.
macOS
Both screens keep the same pixel row, so the pointer steps up as it crosses the edge.
CursorLevel
The distance from the bottom edge is scaled by the two diagonals, so the pointer holds its height.
macOS measures the pointer down from the top of each screen. CursorLevel asks each panel how big it physically is, measures up from the bottom edge instead, and converts that distance through those two sizes. The pointer comes out the same number of millimeters above your desk on either screen.
There is no window and no Dock icon. Everything lives in one menu bar item, and you only open it when your setup changes.
Three steps, no terminal. Takes about a minute.
Open the disk image and drop CursorLevel into your Applications folder.
Run it from there. A copy launched from anywhere else is a different file to macOS, so the permission you grant will not carry over.
System Settings, then Privacy & Security, then Accessibility. Add CursorLevel with the plus button and turn it on.
Quit the app and open it once more afterwards.
Open the menu bar item. It names both displays with the size it read from each panel.
That is the whole setup. Any two external monitors work as they are, and swapping one only needs a click on Rediscover displays.