Editor: update tileset-dependent sprites when tileset changes. Fix #423.

This fixes cpoy-pasting entities like doors accross maps or changing
the tileset in a single map.