changed viewport drawing to native X11