Fixed controlling player if window's inactive
Updated Sockets