Make the map global for performance
Fix not being able to jump occasionally