IMG-674 handle sizing when context image is toggled.