[DF-1905] fix for bug on win32 when control don't receive leaveEvent