Fixed querying of inlineDraw