Fixed keyboard focus handling on surface destruction
separated client and server viewports in ViewPoint class