fix a bug in the way bitmap scaling was being handled