resolved drawing ui issues