Fix error when thumbnail same size original