Fix animations on Android