Fixed flickering when flipping map