Fixed QGL rendering