changed manual focus parameters depending on the cameraparameters