Attempts to fix x-axis bug.