Program logic was inverting the y-axis, now partially fixed