Mouse pointer stuck to edge when switching to smaller monitor in dual display setup
Open system preferences, click 'displays', and then click the 'arrangement' tab. Here you will see a scaled down representation of your displays' positions relative to one another. Drag the displays around until the mouse switches over at the correct position. For your case, it'll probably look something like this: