Fix for negative tick values.