Editor: fix an error in the edition of a switch.
Make sure that project_db has the switch sprites/sound after converting.