Fixed usage of bmp.Resize parameters

It was using OutputHeight also for the width parameter.