Disable unwanted layout restore