Fix active entity + enable magic get/set for entity