Fix the bug of transformation for unit and object and add the ground class