fix renderGL