fixed a bug in the poisson image editing