fixed a bunch of bugs, scrolling around in map seems to work properly now