Fixed bug that curropted the displayed data when switching between ASCII and HEX