Changing screen orientation doesn't crash the app anymore. Fixes #128