why do you move this ``map.requestRenderFrame()`` before the if statement?