Set autoDestroy for inlineDraw to true