New image pinch almost works fine. (TODO: refactoring)