[BUG #7273] Fixed image scaling.