Fixed bugs with graphicmenus while loading