Changed gameObject.active to non-deprecated