Disable webcam stream when control tab is not in focus.

Fixes #316