You should call ‘Set Focus to Game Viewport’ node on the BeginPlay of your pawn. Also, when running in the editor, check the Play advanced settings. There some options like Always on top, Game gets mouse control or Viewport gets HMD control.
I hope this helps