Why do notes move far away after refreshing a diagram?

Hello,

Notes on a diagram gets moved far away to the right after every refresh when I add any function. Is there a way to make notes be fixed in position?

Thanks.
Matthieu