BORDER_REPLICATE in cv::remap?

Hey. I’m using the ofxOpenCV remap function and it’s wrapping pixels instead of applying a constant border or replicating the boarder. Has anyone else run into this? I tried alter the cvRemap() function directly and it did nothing. It’s kind of annoying to see pixels from the sky showing up at the bottom of the screen.

Any ideas?