fixed bug when going to full screen

minimap was null when going to full screen