Flythrough mode gets stuck when heavy progresses are going on

Hey community,
Recently I have noticed that the flythrough mode of scene view gets stuck when some tasks such as GI baking or navigation building are going on. This means the scene camera keeps flying in the previous direction of the key pressed even when the key is now released.
For example, if I hold the right mouse button and press W, the scene camera starts going forward. But when I release W and still hold the right mouse button, the camera continues to go forward.
Also, when I release and hold the right mouse button again, it continues to go forward.

This problem makes the scene designing difficult when baking GI or navigation.
Is there a solution?

The obvious one is to simply turn off auto bake down at the bottom of the Lighting Settings. I will make your entire editing process far smoother.

I think that window is presently located in Window → Rendering → Lighting Settings.

No, it’s not about auto baking. I want to edit my scene when I am manually baking GI or building navmesh.