Fixes bug where keyboard wouldn't return as keyWindow upon dismissal of ComposeView