fix some memory allocation bugs for [draw] objects that don't have coordinate data