Fix for background rendering of map