check for map boundaries before casting rays
remove static map, make scrolled map the default one