Fixed map rendering issue