Fixed pinch bug