Fix double click event