Default Toggling power-saver mode forces screen orientation toggle. NEED HELP!

When I enable or disable power saver mode inside a apps it forces the orientation to be changed glitching the game. This is really annoying and things like this have been happening often. Using App Settings doesn't help either because it still persists. Wiping the cache and dalvik cache and restarting the phone causes "com.android.systemui" to stop. I'm using ViperOneM8 1.8.0. and Elemental-X 0.19.