Fix Page Transition Bug