Fix for a padding problem while drawing acoustic spectrum