Fix mouse-capture (wx assert)

fix --> ./src/common/wincmn.cpp(3300): assert "Assert failure" failed in ReleaseMouse(): Releasing mouse in wxStaticBitmap but it is not captured