fromRect: takes an NSRect, not a CGRect.