fixed accidental change in rect sample