Bugfix for Safari 4.0.5