qt5base: extend patch to prevent SEGV when hiding cursor is desired