Fixed deactivation of tuiles when stopping trees