When editing the width or height of an image in the Rich Text Editor using the Properties dialog box, the other dimension may have a NaN value as shown in the screenshot below. This happens only if the Keep Aspect Ratio option (the chain icon) is selected.
Comment out the RadEditorCommandList["SetImageProperties"] function in the \sitecore\shell\Controls\Rich Text Editor\RichText Commands.js file.