Squashed another bug

canCapture wasn't checking if a valid move was made when checking all
positions around were legal moves ..