Fixed pattern double click bug