Only activate bindings when there is an region

Fixes #7