Fix for inline elements