Make non-JS print behavior more consistent with JS print behavior.