DisassemblerWidget: Check index's bounds when selecting a block