Removed the depth variable from GameObject