I can repro this issue if I add a custom image or icon to a button when disabling New Format Pane. If do this operation with New Format Pane enabled, no such error pops out. Also, I have reported it internally(ICM 297647475). Will sync here once there is any update. Thanks for your understanding!