hopefully fix issues of improper openGL lighting/texture setup prior to
GUI rendering taking place.