Correct increasing y value after image. Top and bottom space must be considered.