Fix for graphics perf and accelerometer on iOS