Fix clipboard compatibility