Re-implemented piece clicking