Calls Thread.sleep(5) only when there is no current OpenGL context yet in JoglCanvasRenderer