Attempt fix for Safari 6