Fixed 2 crash bugs within GL Render System.