Fix object::GetType when remoting is enabled.