Fix for non-animated navigateToPageAtIndex.