Fixed some errors in game functions and set item to use getXCoord and getYCoord from AdventureGame
Modifed position and scale functions to handle floats