Fix issue where google map wouldn't be loaded on first attempt