Update JoglGL.java

Partial fix of the issue 205:
https://github.com/void256/nifty-gui/issues/205