Deactivate segment when blurred

Proposed fix for #85. Let me know what you think.