TextInput: clear flags on removed from stage. gives text editor focus immediately, if possible.