Minor change to screen repainting
Change to screen repainting after exiting printer-friendly mode to ensure the screen is redrawn correctly