Fix crash on view/compose/layout tabs when viewing a cover with an empty layout.