Fix header loading when not in a book