move NUI operation to window's glPaint