Region editor: make max intensity work with perimeter box