Just relog and the horse should be back.
The image above is a very simple way to observe this bug. Fill each hopper with a different stack of items and you can watch them transfer from one hopper to the other. Make sure you make one rail a little longer than the other so they will eventually cross with the right timing.
It would be interesting to know what percentage of Java boxes got stuck. Also it's worth noting none of these boxes landed on the piston.