Don't generate knight moves that exit the board