Fix for leading method on non text elements