Clear client rpc queue on full repaint (#13467)

Change-Id: I6b35b660f9ffa0d9adcdb3f7fe7313ec4ff009b7