request focus in initSurface(), fixes #1700