Fix gl_init events
Merge pull request #207 from tomaka/fix-gl-init-events

Fix gl_init events