Move click event to correct element. Fixes #106