Fix: local variable 'symbol_layer' referenced before assignment error
(if styling is applied to line impact layer)