NSRect -> CGRect