Fixed position of rotated X axis labels to prevent overlapping with the element below. Closes #1764.