Specifying dashArray style property for one of Path layers leads to all other layers inheriting it. Specifying a different dashArray value for other layers does not solve it. Other stroke properties (e.g. color) do not suffer from this issue.
This only concerns canvas renderer, removing 'preferCanvas: true' results in correct stroke rendering.