Fixed the bug where glutDisplayFunc() was effectively invoking