fix for multiple left-clicks (used to only work the first time)