Fix view issues when searching from screen

The problem was caused by use of old APIs by the Google Maps
compatibility layer.