Drawing a simple frame and saving it into a pic