Bugfixes
Crash when turning device