Fixed issue with categorized Y axis overflowing the plot area because category padding weren't applied. Closes #1784.