Corrected type of cursor coordinates.