[AS2] onEnterFrame disabling buttons

I have an onEnterFrame function that automatically adjusts the location of something according to the location of another, which can be moved using the built-in dragging function. For some reason, it also disables them somehow. The buttons whos’ sizes are adjusted don’t go to their other keyframes and don’t use the mouse cursor, and clicking them doesn’t have any affect either. Is there anyway to fix this, or a better way to adjust size constantly that won’t disable my buttons? I’ve tried adding button.enabled = true in the function as well, to no avail.