Fixed a bug in JHexView class when trying to write at invalid offset