Fix map loading issue

Not sure what the root issue was, but invalidateSize fixes it