fix cursor bug in board