map edge bux fix

everything functions properly when you are near the end of the map