fix screenshot is not displayed