Have multiple monitors, primary display leaks onto secondary

I have 2 displays of different resolutions. My primary is 1366x768, and my secondary is 1440x900.

My primary monitor, when set to its native resolution will leak onto my secondary display by 1 row. It's impossible to show in a screenshot. I have experienced this in Ubuntu 14.04 and 16.04 using both the default display drivers and proprietary. No change. The only workaround that I have currently is to lower the resolution on my primary.

Has anybody else experienced this issue, or is capable of reproducing it?

As always, more information will be provided when asked.

EDIT Output from xrandr | grep -w connected

eDP connected primary 1366x768+0+247 (normal left inverted right x axis y axis) 344mm x 194mm
HDMI-0 connected 1440x900+1366+0 (normal left inverted right x axis y axis) 408mm x 255mm

Solution 1:

In my case, the fix was to adjust the position of the second monitor through xrandr. Adjusting the position by one pixel did not help, so I adjusted it by 2 and it works just fine. I used the following command:

sudo xrandr --output HDMI-0 --pos 1368x0

And then creating a file in my home directory called .xprofile and reentering the command; so it will set the position every time I log in.