Fix using cut_min/cut_max for cutting damage of artifacts.

Fixes #9966