Fixed clamping issue.