RoiCounter patch
Fix an annoying error which it wasn't