Pause while taking screenshot