Fixed a critical visualization bug in spike detector.

Spikes were not drawn correctly (amplitude was doubled).