Problems with focus on child windows fixed