Fixed problems with saving distortion config.
Extended distortion config.