Fix pages overlapping in Stack transition effect.