Fix y position for boxes and pipes