Somewhere between godot 4 betas and release, margin_* properties on style boxes became texture_margin_* so if you have issues with background sprites do a find/replace to fix those up.