Fixing popup bug that happens on Android 4.0.3