For anybody struggling with the same issue, if you use a numeric anchor like id="123", margin-scroll-top won't work. Just simply add a string like id="some-text-123" and it will magically start working again.
id="123"
margin-scroll-top
id="some-text-123"