Fixes a bug with background display while flipping between list and map after opening the side menu.