Fix x axis range when transform