Fix bug when first move done by clicking