Added almost but awful collision detection with the map