Fix viewport handling with geoposition