How to disable Esc key in PIE mode?

On Unreal Engine 5.4 the entire engine crashes with EXCEPTION_ACCESS_VIOLATION when pressing escape after binding Stop to another key

EDIT: Nvm, it was just my garbage code xD