Fixed OpenGL bug, agents now not moving outside the screen.