hack to fix opengl backgrounding issue