Fix screenshot issue on Android 4