Makes horse masks work again.

Fixed #4753