Fixed OpenGL not transforming correctly