Fixes positioning for inline elements.