Fixed some GL controller/view code