Workaround for a messaging bug in Safari