Flight controls freeze when using right-click for panning view

Already a post regarding this issue → Freelook with mouse causes controls to freeze after SU5