Attempt to fix failing Safari 4 tests.