Fixed a bug in the GameObject class by making the x and y coordinate arguments default to 0 if they are not specified.