window: clear move_focus when focus is already set
This can get set in other places, so we need to ensure it is cleared so that an after-paint handler does not move the focus to a new widget.
This can get set in other places, so we need to ensure it is cleared so that an after-paint handler does not move the focus to a new widget.