Fix a focus stealing bug introduced by the managed flag changes.

1 file changed