Make cuboid monitor actually a monitor.

fixed a bug where a cuboid monitor was labelled as a normal detector.