Fixed problem with y coordinate