fix issue with fade transition on ios