Make the `check_if_mobile` tag work with locomotivecms engine.