contrain tracking camera when switching entities