Fixed SeamCarving Bug