Fixed app reset to prevent scrolling