Fixed bug with player input class when passed to Player