Fixed regression since 3.0.3 where X axis labels on an inverted chart partly disappeared when the axis was too short. Closes #2399.