Fixing the gem frame rotation in sim g4cms