Fix retainPriorSearch behaviour on wayland
A selection on a textfield clears when focus changes.
Debug shows that on wayland, we set ourselves to invisible, select the text then afterwards we get a focusOutEvent. Arguably weird, but not entirely wrong.
By selecting on show after the forceActiveFocus we avoid that condition.