Fixed an issue with the y coordinate