Fixed bug when rotating map view