Fix the unified title and toolbar on Mac tweak causing calibre to fail to work because of a bug in PyQt5