Fixed unworked screen transition animation on iOS7.