Fix the preload/swipe race condition