`setOpenGlDrawCallback` function should be used with `updateWindow`, not with `imshow`.
`imshow` replaces user defined callback with own, that just show image.