Fix unit selection persisting/control groups working when the unit isn't visible