Fixing draw page height on firefox.