Capture screenshots on key press events and display in ReplayOverviewPreview.