Fix state animation on hover.