added sprite Y flipping, fixed leftmost column of a sprite's pixels not being rendered