Fixes #5962: Fix display of pages in old firefox