ce_plugBox2d: Fixed bug regarding masks and searches