Fix clipboard problems