Temporary workaround for Safari 8