Fixed part of the y-positioning bug