world.js: Change clicks based on current location

Measure clicks relative to the centre of the current location, instead of the
centre of the map. This way you can click above the player to move up, click
below to move down etc.