Fix of mouse cursor position

The position of the mouse cursor was off in certain recording modes