Changing cursor position with mouse.