fix #31756: Spinner and Palette arrow badly painted