Fix focus handling for embedded frames.