Fixed click on legend