Fixed so the previous action done is applied to the correct player visually.