fix UI glitch with Google Maps