switched to orderedDict to preserve drawing order. close #3