fixed camera edge-locking bug caused by fixing map.width/map.height bugs