trying to automatically set focus to graphics window (doesn't seem to work?)