Drawing on an output-pane should almost always happen only inside its display-callback . See output-pane for more information about this initarg.
If you want to display from outside the display-callback then you should call invalidate-rectangle, which will cause the display-callback to be called.
CAPI User Guide and Reference Manual (Macintosh version) - 25 Feb 2015