Made map resize correctly on load