Fix animations for < iOS7