Added wraper over deactivation and set_gravity