Imported images scaled to fit on paper
Fix bug onbeforeunload canEdit() check