Impact of residual contamination on inclusive and direct photon flow