currentDevice was being cleared on "touchEnd" for the SVG