Fix conflict between view hooks.