optimized responding time to move a piece, avoiding sometimes piece not selected when clicking too fast