fixes to chessboard and cursor