Fixed several bugs related to network rendering.