Fixes: [41729] Protect CloseThemeData() from invalid input