reverted the revert of the minecart collision detection fix.