Fixed editor resize and editor bug when mouse was out of map(restoring previous tile)