iOS: Fixed session resizing
Android: Fixed session resizing
Merge pull request #1034 from mfleisz/resizefix

Session resize fix for Android/iOS