Minor bug in photo manipulation fixed