Session resize fix for Android/iOS