fixed missing focus on jsurface