Added one more workaround for a Chrome selection API bug.