Fixed error with x-axis text rendering