changed pixels to yPixels becuse it was causing an issue in Pjs.