fix Scale3Image (vertical)
Merge pull request #1043 from kashirov/master

Scale3Image: fixed issue where vertical region calculation used width instead of height