Is it possible to update a custom attribute of an element without forcing a recalculation of canvas styles?

Hi there. I have a performance issue in a BPMN project with a lot of elements on the canvas. If I want to update a custom attribute of some element, the update forces the canvas styles to recalculate for no reason.

Example of code:

function updateSomeAttribute() {
    const modeling = modeler.get('modeling')

    modeling.updateProperties(element, {
        someCustomAttribute: 'some-value'
    })
}

Graphics in chrome performance tab:
Screenshot_3