Fixed gui loading