Fixed a bug that meant that scrolling the screen when displaying mouse rectangles didn't work properly