Fixed a crash that calibre 9.19 would cause.

Pagelook: Sets the calibre viewer reading layout the way Apple Books does, calibre plugin