Only refresh after changing tilesets in the option menu

 if we're called from in the game. Fixes #6372.