When a randper match starts with Shang, as long as he is in the Shang sprite he will morph back during the whole randper round. Apparently randper and morphing are somewhat linked which kind of makes sense. When you morph into another character, it will use the normal randper cycle properties until the traditional morph back property happens, making whatever character you are at that point to Shang, resuming the glitch.