Merge pull request #166 from ocornut/fix_for_192

Fixes for latest dear imgui (tested with 1.92.5)