ui y-coordinate fix