Bugfix in CS_Photo_Partial

reported by Viviana Scot of University of Bologna (thanks!)