Minimap bug is being caused by a race condition of calling initMap() too soon. Not sure why this is.