     switch event.phase {
     case NSEventPhase.Began:
       let pinchImageRep = self.bitmapImageRepForCachingDisplayInRect(self.bounds)!
-      pinchImageRep.size = self.bounds.size
       self.cacheDisplayInRect(self.bounds, toBitmapImageRep: pinchImageRep)
       self.pinchImage = NSImage()
       self.pinchImage.addRepresentation(pinchImageRep)

      self.setNeedsDisplay(position: self.grid.nextCellPosition(position))
    }
  }
}
  private var pinchTargetScale = CGFloat(1)
  private var pinchImage = NSImage()

  private var _font = NeoVimView.defaultFont
  public var font: NSFont {
    get {
