Tentativelly fix the crash while dragging and Qt update()

Authored by tcanabrava on Jun 28 2019, 12:50 PM.