Fix bug with mouse click handling in Plink demo.