Fix error when ticking / unticking