runtime edit focal distance for layer