Fixed block editing issue