Tweaks within code a bit to account for box model.