Fix animation bugs on Android 4.0