Fixed a bug I introduced with background scaling