occtools: fix paint callback mechanism in occ::View