Added focus stealing prevention.