fixes for xdot-pygoocanvas