fix setting a CPDictionaryProxy (may cause a crash) - instead set the inner dictionary