4.12.2 Input problems, PIE session broken

I got a workaround: if I call “SetupInputModeGameAndUI” with lock mouse unchecked in the level blueprint, everything works fine in 4.12.