Fixed issue #677 - UIProgressBar allowing its value to overflow, resulting in an OpenGLException.
Added extra checks into opengl asset reload methods