Fixed inversed x-axis issue