Fixing incorrect space calculation for image description boxes