Fixed negative number hex formatting