edit to stop the map spamming the server when dragging