Mouse still Interacts with Cockpit when Right-Clicking to Look Around

A common scenario:

You are holding right-click to look around the cockpit while using the scroll-wheel to zoom in and out. A very common occurrence then is that you will accidentally flick switches that can be interacted with using the scroll-wheel as well.

Expected behavior would be that the cockpit cannot be interacted with whilst you are looking around using right-click.