fixed restoring desired size of image from session file