Adding clamp to DrawView.