fix openTK deprecation warning from Begin call