It would be better if view scripts would care about this, but as we failed so many times this might be the better option. fixes #8697