Simplify the logic for resizing the instruction overlay.