Fix currentImage on initialization of the map