Fix copy pixels test