Actuator_Hog: updated the mask generation from the pre-detection