update rect clamp methods