scalebincontentsbywidth.py: small fix