Fix bug on cursor piece