Fix buggy envelope editor while tile picker is active