Fix issue with image size not correctly being passed to convolution operator

Closes #2089
self.fulloutshp can be None. So the condition should be 
"if self.fulloutshp:" I think.