ignore xdm message if xdm is not present, fix save bug in Draw.js