Fix X-axis pythagoras