Bugfix

Prevented the number of clicks incrementing when the user clicks on a
locked piece.