Fix sensor addition and current sensor panel bugs.