Added ON/OFF switch in tile editor