Changed subtractinset to prevent negative inset issue