Continuous-mode effects and photon-photon phase gate performance