Fix for browser freeze in Reader