Fixed a bug in which cursortoHex wasn't taking into account scrolling
(impacts display and unit placement)