Correctly init if map is hidden