Fixed map showing incorrectly after resize