Issue #2624258 by facine: Check if Colorbox should be active for the current page fails in a multilanguage site with language prefix