add unfocus function to device, remove osc event listeners when device unfocused