I haven't seen much posts but I am having the same/similar issue, when using igamegod at least on a sideloaded jailed app, after exiting the overlay, the app is forced rotated. Im using this on injustice. THe issue occurs with the orientation lock enabled https://i.imgur.com/G7YOD40.png