Once the ball is released on a shot, team control ends. Since no one gained control after the rebound, team control was not re-established until the offensive player controlled it in the backcourt. It doesn't matter how many times it is tipped, and by whom, in the front court.