Updated map centre (keyboard) code