Fix horizontal translation when min height set.

Shouldn't use YMinimum if translating horizontally. See ticket #445