Fix for xScale