Added a fix for bug #1331, which caused Safari 1.3 to crash.