Save screenshot of the image JPanel