Removed unused import and fixed a GL primitive error