Remove issues regarding using OpenGL