Fixed bug pertaining to redrawing of images in MainFrame