move drawing to correct thread location