Fix ASAN crash when creating a guide
In some places we static_cast our event into QEnterEvent, so we should prepare a correct object for that.
BUG:405732