Fix planting tree while pause