Fix multiplayer painting bugs.