Moved OpenGL setup after window creation to enable proper transparency