Implemented some GameObject drawing functionalities.