missed a painter.window() usage in last commit.