Force a resize when scale-factor changes.