[composer] Fix refresh HTML item always using cached copy (fix #11747)