Merge "Fix colorSpace lose during screen rotation." into tm-dev