fixing bug in blur filter that shift the image to the up-right corner