fixed a bug related to controlling player in all tabs