Bugfix #3668 in FilterEngine::apply(), use the ROI properly

FilterEngine::apply() takes into account the x-coordinate of its ROI parameter.