Added range checking to ActiveTarget assignment