Added handling for spawning client-side player controlled Agent.