The validator takes its commission from your rewards when they are distributed. This happens every epoch (approx. 1 hour)
The total amount you see in your wallet includes auto-compounded rewards. At that time, the Validator already got their commission.