ScanCut bugfix