Fixed the map selection code so it now offsets correctly. For some reason evt.y and evt.x are constant which is odd.