Fix theme background scaling bug.