Describe the bug
When having a higher delay and the autotool switch from the inventory occurs, the switchback can happen to a container, like a slot in an enderchest.
To Reproduce
Have the autotool enabled, inventory & a delay of 40, have a pickaxe in the inventory (not hotbar), mine a block and then open an enderchest quickly afterwards.
Other mods
None
Expected behavior
The switchback should occur within the inventory slots, not within containers.