fix bug when clicking on piece twice