Correct behavior of function "fit to pane" for inverted signals which contain a dc-offset.