Added functionality for setting position of the player agent.