Get Viewport.color work.

[NEW] Get Viewport.color work.
[MOD] Reordered the update sequence.