Added debugging, check for setActive