Scroll stops working from time to time

Hi!
While working in desktop version of Figma on my macbook, scroll stops working from time to time. I need to close the page or wait for some time to make it work again. It’s really inconvenient.
How can I fix this?