Fix a problem in adding an image to map and calculate scale by entering 2 location.
Have to see why in StateRenderer2D the WorldMapPainter initialization was put in a thread because this makes some components that initialize this component and call methods to configure worldMapPainter makes a throw of null pointer.