Try to automatically figure out width of affixed element.