fix: Cancel page breaks on hidden elements.