fix strecthing with --imgsize per bug rept from Marius Kintel