Change object selection and active state only in Object mode.