GGUI depth information and color information or imwrite broken

Sorry for cross-posting.
The issue is about GGUI depth information and color information giving inaccurate information to the actual scene rendering. The details are listed in this issue Any help is appreciated!